home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.save
/
000036_scottac@nb.sympatico.ca_Wed Dec 20 09:12:34 2006.msg
< prev
next >
Wrap
Internet Message Format
|
2011-07-03
|
3KB
Path: reader2.panix.com!reader1.panix.com!panix!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!53ab2750!not-for-mail
From: "Scott Caissie" <scottac@nb.sympatico.ca>
Newsgroups: comp.protocols.kermit.misc
References: <xwOhh.34809$cz.516497@ursa-nb00s0.nbnet.nb.ca> <lWShh.32651$tb6.31529@news-wrt-01.rdc-nyc.rr.com>
Subject: Re: Macro: Terminal -> Command -> Terminal -> Command?
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <bF8ih.35271$cz.521966@ursa-nb00s0.nbnet.nb.ca>
Date: Wed, 20 Dec 2006 10:56:07 GMT
NNTP-Posting-Host: 156.34.45.151
X-Complaints-To: abuse@aliant.net
X-Trace: ursa-nb00s0.nbnet.nb.ca 1166612167 156.34.45.151 (Wed, 20 Dec 2006 06:56:07 AST)
NNTP-Posting-Date: Wed, 20 Dec 2006 06:56:07 AST
Organization: Aliant Internet
Xref: panix comp.protocols.kermit.misc:15606
I see. I've been testing this out all day, and it works pretty much the way
I was aiming for. I was never referred to using the INPUT command before,
and to be honest, I don't understand it 100% yet. I'm basically mirroring my
actions.
I do have a question. Is there restrictions about using INPUT 0 <text>?
This example works fine, but if I use INPUT 0 etc, it won't. I check to see
if it works by using \Fscrnstr(y,x,n) on a large scale.
SET INPUT TERMINAL ON
set input echo off
clear input-buffer
define vega {
.LZ_PRO := \Fscrnstr(0,6,8)
OUTPUT \5\5\5\5\5\5\5\5\57\49\13\49\52\13\m(LZ_PRO)\24
INPUT 1 \5\5\5\5\5\5\5\5\57\49\13\49\52\13\m(LZ_PRO)\24
for \%t 1 24 1 {
echo \Fscrnstr(\%t,0,79)
}
}
"Jeffrey Altman" <jaltman2@nyc.rr.com> wrote in message
news:lWShh.32651$tb6.31529@news-wrt-01.rdc-nyc.rr.com...
> Scott Caissie wrote:
>
>> Example:
>> SET TERMINAL TRIGGER TEST
>> OUTPUT TEST
>> CONNECT
>> * Trigger is used up, but didn't actually trigger anything.
>
> Triggers work on INPUT not on OUTPUT. If the host echo's the
> data back, then the trigger can be triggered. If the host doesn't
> echo the data back, then there is nothing to trigger on.
>
> If your terminal is in local-echo mode, then the host is not
> sending any data and the local-echo would have been processed
> when the OUTPUT command was executed. In that case, the trigger
> would not go off because you were not in CONNECT mode when the
> INPUT was processed.
>
> Scripts cannot control operations that are performed while the
> "terminal" is displayed to the end-user. The CONNECT command
> specifically gives control to the end-user and pauses the execution
> of scripts. The only exceptions are idle actions, triggers, and
> host driven events (file transfers, APCs, ...).
>
> Kermit does not have a mode that permits the command processor
> and the terminal to operate simultaneously because the command
> processor is not thread safe. Adding thread safety to the command
> processor will require a complete re-write.
>
> Jeffrey Altman